{include file="public/header" select="0" /}
<style>

    .news-list-only {
        padding: 0.8125rem;
        border-radius: .5rem;
        background-color: #fff;
        border-bottom: 1px solid #f5f5f5;
    }

    .news-list-only div {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        font-size: 0.8125rem;
        padding-bottom: 0.5rem;
    }

    .news-list-only span {
        font-size: 0.5625rem;
        font-weight: 400;
        color: #999;
    }

    .news-list-only p {
        font-size: 0.6875rem;
        color: #333;
    }
</style>
<body style="background-color:#fff">
<div class="title bgc">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i>
    消息
</div>

<ul class="news-list tpl_list">

</ul>
<script id="template" type="text/html">
    {{# for(var i=0;i<d.data.length ;i++){ }}
    <li class="news-list-only">
        <div>{{d.data[i].type}}<span>{{d.data[i].create_time}}</span></div>
        <p>{{d.data[i].content}}{{# if(d.data[i].is_read == 0){ }}<span class="layui-badge-dot" style="float: right">{{# } }}</span>
        </p>
    </li>
    {{# } }}
</script>
{include file="public/nav" select="2" /}
</body>
{include file="public/footer" select="1" /}
<script>
    $(function () {
        getFlow(1, "{:url('UserNotify/getList')}");
    })
</script>